<%@page import="com.liferay.portal.kernel.util.Constants"%>
<%@page import="com.liferay.portal.kernel.util.GetterUtil"%>
<%@ include file="/html/init.jsp" %>

<liferay-ui:header title="portlet-edit"/>

<!-- 
<portlet:actionURL var="setPreferencesURL" name="setPreferences"/>
-->

<liferay-portlet:actionURL portletConfiguration="true" var="setPreferencesURL"/>
 
<%
	int daysToReturn = GetterUtil.getInteger(portletPreferences.getValue("days-to-return", "20"));
%>

<aui:form action="<%= setPreferencesURL %>">
	<aui:input name="<%= Constants.CMD %>" value="<%= Constants.UPDATE %>" type="hidden"/>
	<aui:input name="preferences--days-to-return--" value="<%= daysToReturn %>"/>
	<aui:button type="submit"/>
</aui:form>